<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>ltar视频</title>
    <meta name="keywords" content="ltar视频,ltar视频后台,ltar视频后台管理系统">
    <meta name="description" content="">
    <link rel="shortcut icon" href="favicon.ico"> 
    <link href="${pageContext.request.contextPath }/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/css/animate.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/css/style.css?v=4.1.0" rel="stylesheet">
    <!-- 全局js -->
    <script src="${pageContext.request.contextPath }/js/jquery.min.js?v=2.1.4"></script>
    <script src="${pageContext.request.contextPath }/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="${pageContext.request.contextPath }/js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="${pageContext.request.contextPath }/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <script src="${pageContext.request.contextPath }/js/plugins/layer/layer.min.js"></script>
    <!-- 自定义js -->
    <script src="${pageContext.request.contextPath }/js/hplus.js?v=4.1.0"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath }/js/contabs.js"></script>
</head>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
    <div id="wrapper">
     		<div class="row content-tabs">
                <nav class="page-tabs J_menuTabs">
                    <div class="page-tabs-content">
                        <a href="javascript:;" class="active J_menuTab" data-id="${pageContext.request.contextPath }/admin/home">首页</a>
                    </div>
                </nav>
                <div class="btn-group roll-nav roll-right">
                    <button class="dropdown J_tabClose" data-toggle="dropdown"><i class="fa fa-ellipsis-v"></i></button>
                    <ul role="menu" class="dropdown-menu dropdown-menu-right">
                        <li class="J_tabShowActive"><a>定位当前选项卡</a>
                        </li>
                        <li class="divider"></li>
                        <li class="J_tabCloseAll"><a>关闭全部选项卡</a>
                        </li>
                        <li class="J_tabCloseOther"><a>关闭其他选项卡</a>
                        </li>
                        <li class="J_tabCloseOther"><a href="${pageContext.request.contextPath }/admin/quit" class="J_tabExit"><i class="fa fa fa-sign-out"></i> 退出</a></li>
                    </ul>
                </div>
            </div>
        <!--左侧导航开始-->
        <nav class="navbar-default navbar-static-side" role="navigation">
            <div class="nav-close"><i class="fa fa-times-circle"></i>
            </div>
            <div class="sidebar-collapse">
                <ul class="nav" id="side-menu">
                    <li class="nav-header">
                        <div class="dropdown profile-element">
                            <span style="background-color:#fff; width:100px; height:100px; display:block;" class="img-circle">
                            	<img alt="image" src="${pageContext.request.contextPath }/images/main.png" style="display:block;width:100%;height:100%;"/>
                            </span>
                            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                               <span class="block m-t-xs"><strong class="font-bold">${admin.realname }</strong></span>
                                <span class="text-muted text-xs block">${admin.telphone }<b class="caret"></b></span>
                                </span>
                            </a>
                            <ul class="dropdown-menu animated fadeInRight m-t-xs">
                                <li>
                                	<a class="J_menuItem" 
                                		href="${pageContext.request.contextPath }/admin/admin/adminInfo/${admin.id}">个人资料
                                	</a>
                                </li>
                                <li class="divider"></li>
                                <li><a href="${pageContext.request.contextPath }/admin/quit">安全退出</a>
                                </li>
                            </ul>
                        </div>
                        <div class="logo-element">H+ 
                        </div>
                    </li>
                    <li>
                        <a class="J_menuItem" href="${pageContext.request.contextPath }/admin/area/list">
	                        <i class="glyphicon glyphicon-th-list"></i> 
	                        <span class="nav-label">商家区域</span>
                        </a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="${pageContext.request.contextPath }/admin/areaGift/list">
	                        <i class="glyphicon glyphicon-th-list"></i> 
	                        <span class="nav-label">礼品列表</span>
                        </a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="${pageContext.request.contextPath }/admin/arBuilding/list">
	                        <i class="glyphicon glyphicon-th-list"></i> 
	                        <span class="nav-label">AR识楼</span>
                        </a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="${pageContext.request.contextPath }/admin/arBuildingContent/list">
	                        <i class="glyphicon glyphicon-th-list"></i> 
	                        <span class="nav-label">识楼内容</span>
                        </a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="${pageContext.request.contextPath }/admin/admin/adminList">
	                        <i class="glyphicon glyphicon-th-list"></i> 
	                        <span class="nav-label">管理员管理</span>
                        </a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="${pageContext.request.contextPath }/admin/role/list">
	                        <i class="glyphicon glyphicon-th-list"></i> 
	                        <span class="nav-label">角色管理</span>
                        </a>
                    </li>
                </ul>
            </div>
        </nav>
        <!--左侧导航结束-->
        <!--右侧部分开始-->
        <style>
        	#page-wrapper{
        		height:calc(100% - 42px);
        		overflow-y:scroll;
        		-webkit-overflow-scrolling:touch;
        	}
        	#content-main{
        		height:calc(100% - 38px);
        		overflow-y:auto;
        	}
        	@media (min-width : 320px) and (max-width: 374px){
			    #page-wrapper{
			    	width:300px;
	        		height:600px;
	        		overflow-x:scroll;
	        		overflow-y:scroll;
	        		-webkit-overflow-scrolling:touch;
	        	}
	        	#content-main{
	        		width:300px;
	        		height:600px;
	        		overflow-x:scroll;
	        		overflow-y:scroll;
	        	}
			}
			@media (min-width : 375px) and (max-width: 450px){
			    #page-wrapper{
			    	width:360px;
	        		height:600px;
	        		overflow-x:scroll;
	        		overflow-y:scroll;
	        		-webkit-overflow-scrolling:touch;
	        	}
	        	#content-main{
	        		width:360px;
	        		height:600px;
	        		overflow-x:scroll;
	        		overflow-y:scroll;
	        	}
			}
			@media (min-width : 451px) and (max-width: 736px){
			    #page-wrapper{
			    	
	        		height:400px;
	        		overflow-y:scroll;
	        		-webkit-overflow-scrolling:touch;
	        	}
	        	#content-main{
	        		height:400px;
	        		overflow-y:auto;
	        	}
			}
			@media (min-width : 667px) and (max-width: 736px){
			    #page-wrapper{
			    	width:580px;
	        		height:400px;
	        		overflow-x:scroll;
	        		overflow-y:scroll;
	        		-webkit-overflow-scrolling:touch;
	        	}
	        	#content-main{
	        		width:580px;
	        		height:400px;
	        		overflow-x:scroll;
	        		overflow-y:scroll;
	        	}
			}
        </style>
        <div id="page-wrapper" class="gray-bg dashbard-1">
            
            <div class="row J_mainContent" id="content-main">
                <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="${pageContext.request.contextPath }/admin/home" data-id="${pageContext.request.contextPath }/admin/home" frameborder="0" seamless></iframe>
            </div>
            <div class="footer">
                <div class="pull-right">&copy; 2016-2017 <a href="" target="_blank">ar视频</a>
                </div>
            </div>
        </div>
        <!--右侧部分结束-->
    </div>
</body>
</html>